package org.wlw.user;

public class User {
	private String username;
	private String nickname;
	private int age;
	private String password;
	
	public User() {
		
	}
	
	public User(String username, String password, String  nickname, int age) {
		this.username = username;
		this.nickname = nickname;
		this.age = age;
		this.password = password;
	}
	
	@Override
	public String toString() {
		return "\t"+username+"\t\t"+nickname+"\t\t"+age+"\t\t"+password;
	}
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}
	
}
